package com.tiancheng.onecode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tiancheng.onecode.entity.Member;
import com.tiancheng.onecode.entity.MemberSubOrder;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: kellen
 * @Description: 会员子订单service
 * @Date: create in 2024/12/9 18:21
 */
public interface IMemberSubOrderService extends IService<MemberSubOrder> {
    List<MemberSubOrder> queryByOrderId(String orderId);

    /**
     * 查询待核销订单
     * @param endTime 结束时间
     * @return
     */
    List<MemberSubOrder> waitVerificationSubOrders(LocalDateTime endTime);
}
